package com.dpf.api;

import java.math.BigDecimal;

public class TestMain {
    public static void main(String[]args) throws Exception {
        BigDecimal standard = new BigDecimal("0.999");
        BigDecimal onlineRate_new = new BigDecimal("0.990");
        BigDecimal value = standard.subtract(onlineRate_new).multiply(new BigDecimal(100L));
        int value_int=value.intValue();
        int points = value_int*2;
        String score = "-" + points;
        System.out.println(score);
    }
}
